﻿$(document).ready(function() {
  $("#Result").click(function() {
    $.ajax({
      type: "POST",
      url: "controls/ucRegister.ascx/GetUser",
      data: "{}",
      contentType: "application/json; charset=utf-8",
      dataType: "json",
      
	  success : function(res){
		  $("#Result").text(res.d);
	  },
	  error: function(res){
	    alert(res.responseText);
	  }
	});
  });
});